<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <base href="${request.contextPath}/"/>
    <meta charset="UTF-8">
    <meta name="Keywords" content="">
    <meta name="Description" content="">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,minimum-scale=1.0">
    <title>商品详情</title>
    <link href="Content/wechat/css/reset.css" rel="stylesheet" type="text/css">
    <!--签到-->
    <link href="Content/wechat/css/jiFengShangCheng.css" rel="stylesheet" type="text/css">

    <!--banner-->
    <link href="Content/wechat/css/amazeui.min.css" rel="stylesheet" type="text/css">
    <script src="Content/wechat/js/jquery.min.js"></script>
    <!--字体缩放-->
    <script src="Content/wechat/js/ziti.js"></script>
    <!--end 字体缩放-->
</head>
<body>
<header class="jf_header">
    <img src="Content/wechat/images/jf.png">
</header>
<div class="jf_duiHuan">
    <div class="jf_duiHuan_box">
        <h4>------商品名称------</h4>
        <p>${goodsinfo.rows[0].name!}</p>
        <h4>------商品图片------</h4>
        <p><img src="${goodsinfo.rows[0].imgUrl!}"/></p>
        <h4>------商品简介------</h4>
        <p>${goodsinfo.rows[0].content!}</p>
        <h4>------友情提示------</h4>
        <p>${goodsinfo.rows[0].tips!}</p>
        <h4>------剩余库存------</h4>
        <p>${goodsinfo.rows[0].stock!}个</p>
        <br>
    </div>
</div>

<!--页尾-->
<div class="nav_bottom clearfix">
    <div class="number_l">
        <p>单价：<b>${goodsinfo.rows[0].num!}</b>积分</p>
    </div>
    <div class="btn_r" onclick="window.location.href='/wechat/forum/mall/mall_order_add?id=${goodsinfo.rows[0].id!}'" id="duihuan" style="display: none">
        <a>立即兑换</a>
    </div>


</div>







</body>
<script>
    var countNum=${countNum!};
    var num=${goodsinfo.rows[0].num!};
    if(countNum>=num){
        $("#duihuan").show();
    }

</script>

</html>
